//
//  TextEditingViewController.h
//  FunOCR
//
//  Created by Luke Du on 14/03/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class FunOCRAppDelegate;
@class GDataServiceTicket;


@interface TextEditingViewController : UIViewController {

	UIBarButtonItem *bbiBack;
	UIBarButtonItem *bbiSave;
	
	GDataServiceTicket *mUploadTicket;
	
	UITextView *tvEditor;
	
	NSString *content;
	
	FunOCRAppDelegate *appDelegate;
	
	UIActivityIndicatorView *spinner;
	
	
}


@property (nonatomic, retain) IBOutlet UIBarButtonItem *bbiBack;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *bbiSave;

@property (nonatomic, retain) IBOutlet UITextView *tvEditor;

@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *spinner;

@property (nonatomic, retain) NSString *content;


-(IBAction)saveClicked:(id)sender;

- (IBAction)backClicked:(id)sender;

- (void)setUploadTicket:(GDataServiceTicket *)ticket;

@end
